/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package docview;

/**
 *
 * @author Dema
 */
public interface IObserver {

      public enum Sender {PRICE,RESULT};
      public  void add (int i);
      public  void highlightOn(int i);
      public  void highlightOff();
      public  void highlight(Selection one, Sender _sender);
      public  void delete(int i);
      public  void createSelection(Selection selection,Sender sender,int i);
      public  void addListener(IObserver obj);
      public  void deleteListener (IObserver obj);
}


